package com.denlaku.longan.config;

import com.denlaku.longan.util.RsaUtils;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

/**
 * @author tianx
 */
@Component
public class RsaInit implements InitializingBean {
    @Override
    public void afterPropertiesSet() throws Exception {
        RsaUtils.getPublicKey();
    }
}
